In an inquisitorial system of law the examining magistrate or investigating magistrate is a judge who carries out investigations into cases and arranges prosecutions.